* {
    margin: 0;
    padding: 0;
}

.main {
    width: 1000px;
    height: 600px;
    margin: 20px auto;
    border: 1px solid #880000;
    position: relative;
    box-shadow: 1px 1px 1px 1px  #ccc;
    border-radius: 5px;
}


table {
    width: 990px;
    height: 450px;
    text-align: center;
    border-collapse: collapse;
    display: inline-block;
    margin-left: 20px;
    margin-top: 20px;
}

tr {
    width: 920px;
    height: 150px;
}

td {
    border: 1px solid #880000;
}

button {
    margin: 20px;
    width: 70px;
    height: 25px;
    line-height: 20px;
}

input {
    margin-left: 20px;
}

.photo {
    text-align: center;
}

.photo div {
    width: 118px;
    height: 118px;
    display: inline-block;
    border: 1px solid #880000;
}

img {
    width: 118px;
}

tr:nth-of-type(1) {
    height: 60px;
}

td:nth-of-type(1) {
    width: 100px;
}

td:nth-of-type(2) {
    width: 150px;
}

td:nth-of-type(3) {
    width: 300px;
}

td:nth-of-type(4) {
    width: 150px;
}

td:nth-of-type(5) {
    width: 120px;
}

td:nth-of-type(6) {
    width: 130px;
}

.detail {
    text-align: left;
    line-height: 30px;
}

.detail p {
    display: inline-block;
    width: 220px;
    margin-left: 10px;
}

.detail span {
    width: 270px;
    margin-left: 10px;
}

.choose {
    display: contents;
}

.num {
    display: inline-block;
    width: 30px;
}

.bottom {
    display: block;
    width: 996px;
    height: 60px;
    margin: 10px auto;
    position: relative;
    bottom: 20px;
    left: 0;
}

.bottom div {
    position: absolute;
    border: 1px solid #880000;
    height: 60px;
    text-align: center;
    line-height: 60px;
}

.bottom div:nth-of-type(1) {
    width: 100px;
    top: 0;
    right: 25px;
}

.bottom div:nth-of-type(2) {
    width: 120px;
    top: 0;
    right: 135px;
}

.bottom div:nth-of-type(3) {
    width: 100px;
    top: 0;
    right: 270px;
}
